package com.maple.sharding.util;

import java.util.Random;

public class Utils {

    public static String genUUID(int length) {
        StringBuilder sb = new StringBuilder();
        Random random = new Random();
        for (int i = 0; i < length; i++) {
            sb.append(random.nextInt(10));
        }
        return sb.toString();
    }

    public static void main(String[] args) {
        System.out.println(genUUID(16));
    }
}